package com.zsrt.java.day20161226.lh.day161226.demo07;

public class TerminatedDemo02 {
	public static void main(String[] args) {
		int result;
		int chengshu;
		int beichengshu;
		
		chengshu=2;
		beichengshu=3;
		System.out.println(cheng(chengshu, beichengshu));
		
//		int a=1;
//		int b=2;
//		int sum=a+b;
	}
	/**
	 * 乾坤挪移 快 但是是自动生成，自己有时候用不好
	 * @param chengshu
	 * @param beichengshu
	 * @return
	 */
	private static int cheng(int chengshu, int beichengshu) {
		int result;
		result=chengshu*beichengshu;
		return result;
	}

}
